package com.grgbanking.it.system.service;


/**
 * 部门
 * 
 * IDepartmentService
 * 
 * @author 潘广伟
 * @Email p_3er@qq.com
 * @Date 2014-12-15 下午2:47:46
 * 
 * @version 1.0.0
 *
 */
public interface IDepartmentService {
	/**
	 * 获取部门树
	 * getDepartmentTree
	 * 
	 * @param parentId
	 * @param isReflesh
	 * @return 
	 * @exception 
	 * @since  1.0.0
	 */
	public String getDepartmentTree(Integer parentId,boolean isReflesh) throws Exception ;
	/**
	 * 同步整个部门及员工到微信
	 * updateDepartmentToWX
	 * 
	 * @param deptId
	 * @throws Exception 
	 * @exception 
	 * @since  1.0.0
	 */
	public void updateOrganizationToWX(Integer deptId)throws Exception ;
	/**
	 * 获取部门的子部门及人员
	 * getChildren
	 * 
	 * @param deptId
	 * @return
	 * @throws Exception 
	 * @exception 
	 * @since  1.0.0
	 */
	public String getChildren(Integer deptId) throws Exception;
}